package com.cynteka.cyfoman.core.collection;

/**
 * User: Sergey
 * Date: 06.08.11
 * Time: 6:50
 */
public class CollectionAppender implements IRegistryAppender {
    private final ICollection collection;

    public CollectionAppender(ICollection collection) {
        this.collection = collection;
    }

    @Override
    public ICollection[] getCollections() {
        return new ICollection[]{collection};
    }

    @Override
    public ILink[] getLinks() {
        return new ILink[0];
    }
}
